package cn.hospital.dao;

import cn.hospital.entity.National;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface NationalMapper {

    /**
     * 查询民族
     *
     * @return
     */
    List<National> findNational();
    int deleteByPrimaryKey(Integer nationalId);

    int insert(National record);

    int insertSelective(National record);

    National selectByPrimaryKey(Integer nationalId);

    int updateByPrimaryKeySelective(National record);

    int updateByPrimaryKey(National record);
}